auto merge of #566 : alexcrichton/cargo/issue-565, r=brson
authorbors <bors@rust-lang.org>
Fri, 12 Sep 2014 23:29:58 +0000 (23:29 +0000)
committerbors <bors@rust-lang.org>
Fri, 12 Sep 2014 23:29:58 +0000 (23:29 +0000)
When cloning a remote repository, the default behavior of libgit2 is to only
update the local ref that's actually checked out, when we actually would prefer
to update all refs of the remote repo. This removes a call to clone() to a
init_bare() + fetch() which should update all refs accordingly

Closes #565


Trivial merge